import java.util.Map;
import java.util.Properties;

/**
 * @ClassName: Demo01
 * @Description: TODO Property 练习
 * @Author: MaykkStar@163.com
 */
public class Demo01 {
    public static void main(String[] args) {
        Properties prop = new Properties();
        prop.put("001","黄固");
        prop.put("002","欧阳锋");
        prop.put("003","段智兴");
        prop.put("004","洪七公");
        for (Map.Entry<Object, Object> p : prop.entrySet()) {
            System.out.println(p.getKey() + "<==>" + p.getValue());
        }
    }
}
